<?php defined('SYSPATH') or die('No direct script access.');

/**
 * Provide admin route
 */
Route::set('manager_media', 'manager/media(/<file>)', array('file'=>'.+'))
	->defaults(array(
		'directory'  => 'manager',
		'controller' => 'media',
		'action'     => 'file'	
	));

Route::set('manager', 'manager(/<controller>(/<action>(/<id>)))')
	->defaults(array(
                'directory'   => 'manager',
		'controller'  => 'index',
		'action'      => 'index',
	));

